import request from '@/utils/request'

export function getSysUserPage(query) {
  return request({
    url: '/api/system/gift/listPage',
    method: 'post',
    data: query
  })
}

export function saveSysUser(form) {
  return request({
    url: '/api/system/gift/save',
    method: 'post',
    data: form
  })
}

export function deleteSysUser(id) {
  return request({
    url: '/api/system/gift/delete',
    method: 'post',
    data: { 'ids': id }
  })
}

export function getLogById(id) {
  return request({
    url: '/api/system/log/detail',
    method: 'post',
    data: { 'id': id }
  })
}
